/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javatowerdefense;

import java.net.URL;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;

/**
 *
 * @author Norvin Altamirano
 */
public class TilesetOutput {

    private TileSet tileset;

    public TilesetOutput(TileSet tileset) {
        this.tileset = tileset;
    }

    public void printOut(String address) {
        try {
            DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
            URL u = new URL(address);
            Document doc = builder.newDocument();
            doc.setDocumentURI(u.getPath());
            doc.
            
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
